package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 商品(AllShop)实体类
 *
 * @author makejava
 * @since 2025-07-10 10:03:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AllShop implements Serializable {
    private static final long serialVersionUID = -32394124092193982L;
    /**
     * 闲置商品id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 发布用户id
     */
    private Integer userId;
    /**
     * 标题
     */
    private String title;
    /**
     * 文件
     */
    private String file;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 描述
     */
    private String  description;
    /**
     * 标签id
     */
    private Integer typeId;
    /**
     * 发布时间
     */
    private Date createTime;
    /**
     * 更改时间
     */
    private Date updateTime;

    /**
     * 下架状态
     * @return
     */
    private Integer status;


}

